Skip to main content

FeedObjectDetail

Interfaces

FeedObjectDetailProps

Properties

CommentsFeedObjectProps?

optional CommentsFeedObjectProps: CommentsFeedObjectProps

Props to spread to CommentsFeedObject

Default
empty object
Source

FeedObjectDetail/FeedObjectDetail.tsx:87

FeedObjectProps?

optional FeedObjectProps: FeedObjectProps

Props to spread to single feed object

Default
empty object
Source

FeedObjectDetail/FeedObjectDetail.tsx:75

FeedSidebarProps?

optional FeedSidebarProps: StickyBoxProps

Props to spread to the sidebar

Default
{}
Source

FeedObjectDetail/FeedObjectDetail.tsx:81

RelatedFeedObjectProps?

optional RelatedFeedObjectProps: RelatedFeedObjectWidgetProps

Props to spread to RelatedFeedObject

Default
empty object
Source

FeedObjectDetail/FeedObjectDetail.tsx:93

className?

optional className: string

Overrides or extends the styles applied to the component.

Default
null
Source

FeedObjectDetail/FeedObjectDetail.tsx:51

feedObject?

optional feedObject: SCFeedObjectType

Feed object

Default
null
Source

FeedObjectDetail/FeedObjectDetail.tsx:63

feedObjectId?

optional feedObjectId: string | number

Id of feed object

Default
null
Source

FeedObjectDetail/FeedObjectDetail.tsx:57

feedObjectType?

optional feedObjectType: DISCUSSION | POST | STATUS

Type of feed object

Default
SCContributionType.POST
Source

FeedObjectDetail/FeedObjectDetail.tsx:69

id?

optional id: string

Id of the feed object

Default
'feed'
Source

FeedObjectDetail/FeedObjectDetail.tsx:45

Functions

FeedObjectDetail()

FeedObjectDetail(inProps): JSX.Element

API documentation for the Community-JS Feed Object Detail Template. Learn about the available props and the CSS API.

This component renders a specific feed object detail template. Take a look at our demo component here

Import

import {FeedObjectDetail} from '@selfcommunity/react-templates';

Component Name

The name SCFeedObjectDetailTemplate can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedObjectDetailTemplate-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsFeedObjectDetailProps

Returns

JSX.Element

Source

FeedObjectDetail/FeedObjectDetail.tsx:124


FeedObjectDetailSkeleton()

FeedObjectDetailSkeleton(props): JSX.Element

API documentation for the Community-JS Feed Object Detail Skeleton Template. Learn about the available props and the CSS API.

Import

import {FeedObjectDetailSkeleton} from '@selfcommunity/react-templates';

Component Name

The name SCFeedObjectDetailTemplate-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFeedObjectDetailTemplate-skeleton-rootStyles applied to the root element.

Parameters

ParameterType
propsany

Returns

JSX.Element

Source

FeedObjectDetail/Skeleton.tsx:36